package com.zcs.service;

import com.zcs.pojo.Books;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Author : zcs
 * Data :  2021/8/20 17:15
 */
public interface BookService {
    //增加一本书
    int addBook(Books books);
    //删除一本书
    int deleteBookById(int bookID);
    //更新一本书
    int updateBook(Books books);
    //查询一本书
    Books queryBookById( int id);
    //查询全部书
    List<Books> queryAllBook();

    //查询书籍
    List<Books> queryBookByName(String bookName);
}
